//
//  NewDianji2ViewController.m
//  A_HandHeldLOL
//
//  Created by Zhao YanBin on 16/1/24.
//  Copyright © 2016年 zhaoyanbin. All rights reserved.
//

#import "NewDianji2ViewController.h"

@interface NewDianji2ViewController ()

@end

@implementation NewDianji2ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"返回" style:UIBarButtonItemStylePlain target:self action:@selector(right:)];
    [self webV];
    

}
-(void)webV
{
    UIWebView *wv = [[UIWebView alloc] initWithFrame:self.view.bounds];
    wv.backgroundColor  = [UIColor whiteColor];
    [self.view addSubview:wv];
    [wv loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:_wangzhi]]];
}

-(void)right:(UIButton *)btn
{
    [self.navigationController dismissViewControllerAnimated:YES completion:^{
        
    }];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
